/*
 * All content copyright http://www.j2eefast.com, unless
 * otherwise indicated. All rights reserved.
 * No deletion without permission
 */
package com.clwl.supervise.superviseapp.mapper.supervise;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clwl.supervise.superviseapp.entity.supervise.AdsBaobShareSupTaskDetailEntity;
import com.clwl.supervise.superviseapp.entity.supervise.AdsBaobShareSupTaskEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 */
@Mapper
public interface AdsBaobShareSupTaskMapper extends BaseMapper<AdsBaobShareSupTaskEntity> {



    List<AdsBaobShareSupTaskEntity> findList(@Param("entUniqueCode") String entUniqueCode);


    List<AdsBaobShareSupTaskDetailEntity> findDetailList(@Param("yearInfo") String yearInfo,@Param("taskId") String taskId);

    List<AdsBaobShareSupTaskDetailEntity> selectByCompanyAndYearRisk(@Param("license") String license,@Param("year") int year);

    int selectByLicense(@Param("license") String license,@Param("year") int year);
}
